package com.kd.captcha.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Setter
@Getter
@ConfigurationProperties(prefix = "captcha")
public class CaptchaProperties {

    private String service;

    public String getService() {
        return this.service != null && !this.service.isEmpty() ? this.service : "";
    }
}
